<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <link rel="stylesheet" href="../../layui/css/layui.css">
</head>
<body>
    <fieldset class="layui-elem-field layui-field-title" style="margin-top: 20px;">
        <legend>设置比例</legend>
  </fieldset>
  <form class="layui-form" action="" lay-filter="example">

    <div class="layui-form-item">
        <label class="layui-form-label">单选框</label>
        <div class="layui-input-block" id="sing">
          <input type="radio" name="sing" value="60" title="8cm/hr" checked="">
          <input type="radio" name="sing" value="40" title="12cm/hr">
          <input type="radio" name="sing" value="30" title="16cm/hr">
          <input type="radio" name="sing" value="15" title="32cm/hr">
         
        </div>
      </div>
         
  </form>
</body>
<script type="text/javascript" src="../../layui/layui.js"></script>
<script type="text/javascript" src="../../jquery-3.0.0.min.js"></script>
<script type="text/javascript" src="../Timejs/Ratio.js"></script>
<script type="text/javascript">
  //  layui.use(['form','colorpicker','layer'],function(){
  //  })
  //  var resdate=function(){
  //   var sing=$("#sing input[name='sing']:checked").val();
  //   return sing
  //  }
</script>
</html>